package org.jeecg.modules.demo.temple.order.service;

import org.jeecg.modules.demo.temple.order.entity.TempleDonationOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.repository.query.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Description: 供养订单表
 * @Author: jeecg-boot
 * @Date:   2022-05-04
 * @Version: V1.0
 */
public interface ITempleDonationOrderService extends IService<TempleDonationOrder> {
    public Map<String ,Object> totalNumMoney(String id);
    public void setIsPayState(String isPay, List list);
    public Map todayDonationData(String sys_org_code) ;
    public List<Map> classifyDonationData(String sys_org_code) ;

    //    近7天捐赠数据
    public List<Map> donation7DayData(String sys_org_code);

    //    近30天捐赠数据
    public List<Map> donationOneMonthData( String sys_org_code);

    //    近3个月捐赠数据
    public List<Map> donationThreeMonthData( String sys_org_code);

    //    近6个月捐赠数据
    public List<Map> donationHalfData( String sys_org_code);

    // 近一年捐赠数据
    public List<Map> donationOneYearData( String sys_org_code);

    // 根据时间区间查询数据
    public List<Map> donationDashBoardQuery(String sys_org_code, String begin, String end);



}
